<%@ Page CodeBehind="EWPCredentials.aspx.cs" Language="c#" AutoEventWireup="false" Inherits="ASPDotNetSamples.EWPCredentials" %>
<%@ Import namespace="ASPDotNetSamples"%>
<HTML>
	<HEAD>
		<title>PayPal Website Payment Standard Credentials Page</title>
		<LINK href="sdk.css" type="text/css" rel="stylesheet">
	</HEAD>
	<body>
		<center>
			<form id="LoginForm" runat="server">
				<p>
					<font face="Verdana, Arial, Helvetica, sans-serif" color="#000000">
						<br>
						<b>Credentials Used To Create Encrypted Buy Now Buttons</b></font></p>
				<p align="left"><font face="Verdana, Arial, Helvetica, sans-serif" color="#000000"><br>
						<span style="FONT-SIZE: 10pt; FONT-FAMILY: Arial; mso-fareast-font-family: 'Arial Unicode MS'; mso-bidi-font-family: 'Times New Roman'; mso-ansi-language: EN-US; mso-fareast-language: EN-US; mso-bidi-language: AR-SA"> 
      Below are the credentials used to encrypt buy now buttons. </span></font></p>
				<p align="left"><font face="Verdana, Arial, Helvetica, sans-serif" color="#000000"><span style="FONT-SIZE: 10pt; FONT-FAMILY: Arial; mso-fareast-font-family: 'Arial Unicode MS'; mso-bidi-font-family: 'Times New Roman'; mso-ansi-language: EN-US; mso-fareast-language: EN-US; mso-bidi-language: AR-SA">PayPal 
      includes a default account for testing on the PayPal sandbox. You can modify 
      these credentials by editing the constants.aspx file</span></font></p>
				<p align="left"><font face="Verdana, Arial, Helvetica, sans-serif" color="#000000"><span style="FONT-WEIGHT: bold; COLOR: red">NOTES: 
      </span></font></p>
				<ul>
					<li>
						<div align="left"><font face="Verdana, Arial, Helvetica, sans-serif" color="#000000">Production 
								code should NEVER expose credentials in this manner. We are showing you 
								credentials for testing purposes only.</font></div>
					<li>
						<div align="left"><font face="Verdana, Arial, Helvetica, sans-serif">Sandbox 
								credentials are different that live credentials. You will need a different set 
								to encrypt buy now buttons on the live production system</font></div>
					<li>
						<div align="left"><font face="Verdana, Arial, Helvetica, sans-serif" color="#000000">The 
								credentials below are used to encrypt buy now buttons. They are not the 
								credentials used to make PayPal API calls</font></div>
					</li>
				</ul>
				<table border="1">
					<tr>
						<td align="left">PayPal Account:</td>
						<td align="left"><asp:literal id=EmailLiteral 
       Text="<%#Constants.STANDARD_EMAIL_ADDRESS%>" 
      Runat="server"></asp:literal></td>
					</tr>
					<tr>
						<td align="left">Certificate PKCS12 (.p12) format:</td>
						<td align="left">EWPcert\sdk-ewp.p12
						</td>
					</tr>
					<tr>
						<td align="left">Certificate Private Key Password
							<br>
							(OpenSSL Export Password):</td>
						<td align="left">password</td>
					</tr>
					<tr>
						<td align="left">Cert ID:</td>
						<td align="left"><asp:literal id=CertIdLiteral 
       Text="<%#Constants.CERT_ID%>" 
      Runat="server"></asp:literal></td>
					</tr>
					<tr>
						<td align="left">PayPal Certificate :
						</td>
						<td align="left">EWPcert\sandbox_cert_pem.txt</td>
					</tr>
					<tr>
						<td align="left">Identity token :
						</td>
						<td align="left"><asp:literal id=IdentityTokenLiteral 
       Text="<%#Constants.STANDARD_IDENTITY_TOKEN%>" 
      Runat="server"></asp:literal></td>
					</tr>
					<tr>
						<td align="left" height="16">
							Endpoint(sandbox or live):
						</td>
						<td align="left" height="16">
							sandbox</td>
					</tr>
				</table>
			</form>
		</center>
		<font size="2" color="black" face="Verdana"><a href="Default.aspx">Home</a></font>
	</body>
</HTML>
